//
//  NSString+AddString.m
//  CategoryAddAttribute
//
//  Created by 蓓蕾 on 2023/10/27.
//

#import "NSString+AddString.h"

#import <objc/runtime.h>

@implementation NSString (AddString)



static NSString *customerIdentifierKey = @"customerIdentifierKey";

-(void)setCustomerIdentifier:(NSString *)customerIdentifier{
    objc_setAssociatedObject(self, &customerIdentifierKey, customerIdentifier, OBJC_ASSOCIATION_COPY);
}

-(NSString *)customerIdentifier {
    return objc_getAssociatedObject(self, &customerIdentifierKey);
}

@end
